< previous page page_409 next page >

Page 409
8160-0409a.gif
Figure 20.5
The Procedure Attributes dialog box.
Click the Advanced command button to display the bottom portion of this dialog box. Next, select the (Default) option from the Procedure ID combo box.
Summary
In this chapter, you learned to create classes in Visual Basic. You saw how wrapping up Visual Basic functionality into a class module (the TextStream class) can make the programming of the constructs much easier. You also saw how to potentially eliminate global variables from your application by making properties on forms.
Review Questions
1. How do you expose Private variables from a class?
2. How do you create a default property?
3. How do you create a method?

 
< previous page page_409 next page >

If you like this book, buy it!